<?php

namespace zhtfrontend\models\datas;

use Yii;

/**
 * This is the model class for table "{{%class_manage_goods}}".
 *
 * @property integer $class_id
 * @property integer $goods_id
 */
class ClassManageGoods extends \zhtfrontend\components\bases\BaseModel
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%class_manage_goods}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['class_id', 'goods_id','created_at'], 'integer'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'class_id' => Yii::t('zhtfrontend', '班级id'),
            'goods_id' => Yii::t('zhtfrontend', '商品id'),
            'created_at' => Yii::t('zhtfrontend', '生成时间'),
        ];
    }
}
